

<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico"> 
    <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
</head>

<body style="color:#333;padding:3px;">
    <!-- 标题 -->
    <div class="page-heade">
        <h2 class="title_color text-center">单品发运汇总</h2>
    </div>
    <!-- 标题 -->
    <div class="row-margin-top">
    <form action=""  class="form-inline" id="f1" method="post">
      <table class="row-margin-top tab-content table-bordered  table text-left" border="1">
          <tr>
            <td style="min-width: 120px;width: 120px" ><label for="" class="form-label">分区：</label></td>
            <td><input type="text" class="form-control" name="fenqu" value="{$data.fenqu}"></td>
              <td style="min-width: 120px;width: 120px" ><label for="" class="form-label">省份：</label></td>
            <td><input type="text" class="form-control" name="sheng" value="{$data.sheng}"></td>
             <td style="min-width: 120px;width: 120px" ><label for="" class="form-label">城市：</label></td>
           <td><input type="text" class="form-control" name="shi" value="{$data.shi}"></td>
          </tr>
            <tr>
            <td><label for="" class="form-label">经销商编号：</label></td>
            <td><input type="text" class="form-control" name="jxssn" value="{$data.jxssn}"></td>
            <td><label for="" class="form-label">经销商名称：</label></td>
            <td><input type="text" class="form-control" name="jxs" value="{$data.jxs}"></td>
            <td><label for="" class="form-label">网点编号：</label></td>
            <td><input type="text" class="form-control" name="netsn" value="{$data.netsn}"></td>
          </tr>
            <tr>
            <td><label for="" class="form-label">网点名称：</label></td>
            <td><input type="text" class="form-control" name="net" value="{$data.net}"></td>
            <td><label for="" class="form-label">品类：</label></td>
            <td><input type="text" class="form-control" name="cate" value="{$data.cate}"></td>
            <td><label for="" class="form-label">系列：</label></td>
           <td><input type="text" class="form-control" name="series" value="{$data.series}"></td>
          </tr>
          <tr>
            <td><label for="" class="form-label">SKU：</label></td>
            <td><input type="text" class="form-control" name="sku" value="{$data.sku}"></td>
            <td><label for="" class="form-label">产品编号：</label></td>
           <td><input type="text" class="form-control" name="prono" value="{$data.prono}"></td>
             <td><label for="" class="form-label">产品名称：</label></td>
           <td><input type="text" class="form-control" name="pro" value="{$data.pro}"></td>
          </tr>
          <tr>
           <td><label for="" class="form-label">发运日期：</label></td>
            <td>
                 <div class="form-group">
            <input type="text" id="start" class="form-control layer-date " style="display: inline-block;min-width: 120px;width: 120px" name="start" value="{$data.start}">
           </div>
            <div class="form-group">
                到
            </div>
           <div class="form-group">
            <input type="text" class="form-control layer-date"  style="display: inline-block;min-width: 120px;width: 120px" id="end" name="end" value="{$data.end}">
           </div>
            </td>
            <td colspan="4" class="text-center">
           <button class="btn btn-info query">查询</button>
           <button class="btn btn-info emptyIf" type="button">清空</button>
          
            </td>
          </tr>
      </table>
    
      <table class="table row-margin-top table-bordered table-hover text-center bud_hei">
          <tr class="info text-center">
            <th class="text-center">产品品类</th>
            <th class="text-center">SKU</th>
            <th class="text-center">产品名称</th>
            <th class="text-center">规格</th>
            <th class="text-center">单位</th>
            <th class="text-right">发运数量</th>
            <th class="text-center">搭赠数量</th>
            <th class="text-center">发运金额(元)</th>
          </tr>
          {volist name="apply" id="vo"}
            <tr class="text-center">
              <td class="cate" rowspan="1">{$vo.category_name}</td>
              <td class="sku" rowspan="1">{$vo.sku_name}</td>
              <td>{$vo.pro_name}</td>
              <td>{$vo.format}</td>
              <td>{$vo.unit}</td>
              <td>{$vo.mai}</td>
              <td>{$vo.song}</td>
              <td><span class="ObjectNum">{$vo.money}</span></td>
            </tr>
          {/volist}
        <!--  <tr>
            <td class="text-left" rowspan="2">lacovo</td>
            <td>福牌金装随身包30克</td>
            <td>福牌金装随身包30克</td>
            <td></td>
            <td>箱</td>
            <td><span>69</span>.00</td>
            <td><span class="ObjectNum">-</td>
            <td><span class="ObjectNum">4140</span></td>
          </tr>
          <tr class="success">
            <td class="text-right" colspan="4">福牌金装随身包30克小计</td>
            <td><span>69</span>.00</td>
             <td>-</td>
            <td><span class="ObjectNum">4140</span></td>
          </tr>
          <tr class="warning">
           <td>lacovo小计</td>
            <td colspan="4" class="text-right">lacovo</td>
           <td><span>69</span>.00</td>
             <td><span>69</span>.00</td>
            <td><span class="ObjectNum">4140</span></td>
          </tr>-->
          <tfoot>
            <tr class="trTotal">
             <td>总计</td>
              <td colspan="4" class="text-right"></td>
            <td>{$zongmai}</td>
             <td>{$zongsong}</td>
            <td><span class="ObjectNum">{$zongmoney}</span></td>
            </tr>
          </tfoot>
      </table>
</form>
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <!--统计代码，可删除-->
    <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
       <script src="__STATIC__/layout/js/common.js"></script>
    <script>
    $(".query").click(function(){
      document.getElementById("f1").submit()
    })
    $(".emptyIf").click(function(){
      location.href="{:url('profyhz')}"
    })
   
    $(document).ready(function(){
          var $ObjectNum =$(".ObjectNum");
             toNum($ObjectNum);
    })
        //日期范围限制
        var start = {
            elem: '#start',
            format: 'YYYY-MM-DD',
           
            max: '2099-06-16 23:59:59', //最大日期
            istime: true,
            istoday: false,
            choose: function (datas) {
                end.min = datas; //开始日选好后，重置结束日的最小日期
                end.start = datas //将结束日的初始值设定为开始日
            }
        };
        var end = {
            elem: '#end',
            format: 'YYYY-MM-DD',
           
            max: '2099-06-16 23:59:59',
            istime: true,
            istoday: false,
            choose: function (datas) {
                start.max = datas; //结束日选好后，重置开始日的最大日期
            }
        };
        laydate(start);
        laydate(end);
    </script>
</body>

</html>
